package grape.composite.rest.appbanner.mapper;

import grape.composite.service.appbanner.po.AppBanner;
import grape.common.rest.mvc.WebMapper;
import org.mapstruct.Mapper;
import grape.composite.rest.appbanner.form.AppBannerCreateForm;
import grape.composite.rest.appbanner.form.AppBannerUpdateForm;
import grape.composite.rest.appbanner.form.AppBannerListPageForm;
import grape.composite.rest.appbanner.vo.AppBannerVo;
import org.mapstruct.ReportingPolicy;
/**
 * <p>
 * app横幅表 前端领域模型映射
 * </p>
 *
 * @author yangwei
 * @since 2020-03-10
 */
@Mapper(componentModel = "spring",unmappedTargetPolicy = ReportingPolicy.IGNORE)
public interface AppBannerWebMapper extends WebMapper<AppBannerVo, AppBanner> {

    AppBanner formToPo(AppBannerCreateForm f);
    AppBanner formToPo(AppBannerUpdateForm f);
    AppBanner formToPo(AppBannerListPageForm f);
}
